import request from '@/utils/request'

export function deviceDetectionShebei(data) { //设备检测-设备编号
  return request({
    url: '/hose-management/api/equipment/hoseEquipment',
    method: 'post',
    data
  })
}


export function deviceDetectionList(data) { //设备检测-列表
  return request({
    url: '/hose-management/api/eqCheckMain/page',
    method: 'post',
    data
  })
}


export function deviceDetectionAdd(data) { //设备检测-新增
  return request({
    url: '/hose-management/api/eqCheckMain/add',
    method: 'post',
    data
  })
}


export function deviceDetectionDetail(data) { //设备检测-检测记录
  return request({
    url: '/hose-management/api/eqCheckMain/record',
    method: 'post',
    data
  })
}

export function deviceDetectionEdit(data) { //检测记录-编辑
  return request({
    url: '/hose-management/api/eqCheckMain/record/edit',
    method: 'post',
    data
  })
}
export function deviceDetectionDetele(data) { //检测记录-删除
  return request({
    url: '/hose-management/api/eqCheckMain/del/record',
    method: 'post',
    data
  })
}